package com.springboot.service;

import java.io.File;

import java.io.FileInputStream;

import java.io.FileOutputStream;

import java.io.IOException;

import java.math.BigDecimal;

import java.text.SimpleDateFormat;

import java.util.HashMap;

import java.util.Map;

import java.util.ArrayList;

import java.util.Calendar;

import java.util.Collections;

import java.util.Date;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import javax.servlet.http.HttpSession;

import org.apache.commons.logging.Log;

import org.apache.commons.logging.LogFactory;

import com.springboot.dao.OrderzMapper;

import com.springboot.entity.Orderz;

import com.springboot.entity.OrderzExample;

import com.springboot.entity.*;
import com.springboot.dao.*;
import com.springboot.entity.User;

import com.springboot.entity.UserExample;

import com.springboot.dao.UserMapper;

import com.springboot.entity.Furniture;

import com.springboot.entity.FurnitureExample;

import com.springboot.dao.FurnitureMapper;

import com.springboot.entity.User;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestMethod;

import org.springframework.web.multipart.MultipartFile;

public interface OrderzServiceImp {


    //定义方法addorderz接口,响应控制层添加订单请求

    public void addorderz(HttpServletRequest request, HttpSession session);


    //定义useraddorderz接口，在订单控制层中调用

    public void useraddorderz(HttpServletRequest request, HttpSession session);


    // 定义userupdateorderz方法

    public void userupdateorderz(HttpServletRequest request, HttpSession session, int id);


    //定义userorderzmanage方法

    public void userorderzmanage(HttpServletRequest request, HttpSession session);


    //定义useraddorderzact接口，响应控制层添加请求

    public void useraddorderzact(HttpServletRequest request, HttpSession session, Orderz orderz) throws IOException;


    //定义addorderzact接口

    public void addorderzact(HttpServletRequest request, HttpSession session, Orderz orderz) throws IOException; //定义addorderzactjson接口

    public void addorderzactjson(Orderz orderz) throws IOException;


    //定义orderzmanage方法响应页面请求

    public void orderzmanage(HttpServletRequest request, HttpSession session);


    // 定义 orderzview方法

    public void orderzview(HttpServletRequest request, HttpSession session);


    // 定义 updateorderz方法

    public void updateorderz(HttpServletRequest request, HttpSession session, int id);


    // 定义updateorderzact处理订单修改

    public void updateorderzact(HttpServletRequest request, Orderz orderz, HttpSession session) throws IOException; // 定义updateorderzactjson处理订单修改

    public void updateorderzactjson(Orderz orderz) throws IOException;


    // 定义userupdateorderzact方法

    public void userupdateorderzact(HttpServletRequest request, Orderz orderz, HttpSession session) throws IOException;


    // 定义deleteorderz,处理删除订单

    public void deleteorderz(HttpServletRequest request, HttpSession session, int id);


    // 定义userdeleteorderz方法

    public void userdeleteorderz(HttpServletRequest request, HttpSession session, int id);


    // 定义searchorderz方法，处理搜索操作

    public void searchorderz(HttpServletRequest request, HttpSession session, String search);


    // 定义searchorderzjson方法，处理搜索操作

    public Map searchorderzjson(String search);


    // 定义OrderzpinglunMapper

    public void orderzdetails(HttpServletRequest request, HttpSession session, int id);


    // 定义Orderz详情方法

    public Map orderzdetailsjson(int id);


}

